package com.miplus.ccrm.admin;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
//import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

//不需要K8S或nacos
//@EnableDiscoveryClient
@Slf4j
@SpringBootApplication
@ComponentScan(basePackages = {"com.miplus.ccrm.*"})
@MapperScan(basePackages = {"com.miplus.ccrm.**.mapper"})
public class CcrmAdminApplication {
    public static void main(String[] args) {
        SpringApplication.run(CcrmAdminApplication.class, args);
    }
}
